package com.caiyouxi.partner.mapper;

import com.caiyouxi.partner.model.ChannelAppConfigBean;
import com.caiyouxi.partner.model.PartnerBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PartnerMapper {
    int delete_partner(Integer id);

    int insert_selective(PartnerBean record);

    PartnerBean get_partner_by_id(Integer id);

    List<PartnerBean> selectAll();

    int update_selective(PartnerBean record);


    ChannelAppConfigBean get_channel_app_config(ChannelAppConfigBean bean);
    //分页查询
    List<PartnerBean> select_partner_list(PartnerBean record);
    //查询多少条数据
    int select_partner_count(PartnerBean record);
}